<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Login</title>
	<link rel="stylesheet" href="${pageContext.request.contextPath}/resources/web.css" type="text/css" media="screen, projection"/>
</head>


<body>
    <br/>
	<h1 style="margin-left: 50px">Digital Store</h1>
	<br/>
	<br/>
	<br/>
	
	<a style="margin-left: 50px" href="<c:url value='/' />">Home</a>
	<br/>
	<br/>
	<form class="login-form" action="login" method="post" >
		<fieldset style="text-align: center">
			<legend style="margin-left: 35px">Login Here</legend>

			<p>
			<label for="username">Username</label>:
			<input id="username" name="username" size="20" maxlength="50" type="text"/>
			</p>

			<p>
			<label for="password">Password</label>:
			<input id="password" name="password" size="20" maxlength="50" type="password"/>
			</p>

			<p><input type="submit" value="Login"/></p>
		</fieldset>
	</form>
	<p class="message">${message}</p>
	<div class="footer">
		<%@ include file="common/footer.jsp" %>
	</div>
</body>

</html>